package encaps.logging;

import java.util.Collection;
import java.util.Date;
import javax.ejb.CreateException;
import javax.ejb.EJBLocalHome;
import javax.ejb.FinderException;

public interface LogLocalHome extends EJBLocalHome {

    LogLocal create(String action, Long user_id, String user_name, Date time,
            String entity_type, Long entity_id, String entity_name) throws CreateException;

    LogLocal findByPrimaryKey(java.lang.Long key) throws FinderException;

    int getLogCount();

    Collection<LogLocal> findAllAuthReg();// throws FinderException;

    Collection<LogLocal> findAllInUpDel();// throws FinderException;

    Collection<LogLocal> findPaged(Integer from, Integer count);// throws FinderException;

    Collection<LogLocal> findBeetweenPaged(Integer from, Integer count, Date after, Date before);
}
